package com.jingdianjichi.auth.application.convert;

import com.jingdianjichi.auth.application.dto.AuthRoleDTO;

import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签DTO的转换
 */
@Mapper
public interface AuthRoleDTOConverter {

    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);


    AuthRoleBO convertDTOtoBo(AuthRoleDTO authRoleDTO);
    AuthRoleDTO convertBotoDTO(AuthRoleBO authRoleBO);
    List<AuthRoleBO>  convertListDTOtoBo(List<AuthRoleBO> authRoleBOList);
}
